package com.dragon.modules.yuegou.excel.order;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.List;

@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\order\\couponData.xlsx")
public class CouponDataWorkbook {
	@ExcelSheet
	@JsonProperty("优惠劵数据")
	private List<CouponRow> coupon;

	public static class CouponRow {

		/** 优惠券名称 */
		@JsonProperty("优惠券名称")
		private String title;
		
		/** 订单号 */
		@JsonProperty("订单号")
		private String orderNo;
		
		/** 会员手机 */
		@JsonProperty("会员手机")
		private String mobile;
		
		/** 商品名称 */
		@JsonProperty("商品名称")
		private String spuTitle;
		
		/** 应付金额 */
		@JsonProperty("应付金额")
		private BigDecimal orderFee;
		
		/** 商户分摊金额 */
		@JsonProperty("商户分摊金额")
		private BigDecimal merchantFee;

		/** 平台分摊金额 */
		@JsonProperty("平台分摊金额")
		private BigDecimal groupFee;
		
		/** 使用优惠金额 */
		@JsonProperty("使用优惠金额")
		private BigDecimal useReductionMount;
		
		/** 实付金额 */
		@JsonProperty("实付金额")
		private BigDecimal payFee;

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getOrderNo() {
			return orderNo;
		}

		public void setOrderNo(String orderNo) {
			this.orderNo = orderNo;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getSpuTitle() {
			return spuTitle;
		}

		public void setSpuTitle(String spuTitle) {
			this.spuTitle = spuTitle;
		}

		public BigDecimal getOrderFee() {
			return orderFee;
		}

		public void setOrderFee(BigDecimal orderFee) {
			this.orderFee = orderFee;
		}

		public BigDecimal getMerchantFee() {
			return merchantFee;
		}

		public void setMerchantFee(BigDecimal merchantFee) {
			this.merchantFee = merchantFee;
		}

		public BigDecimal getGroupFee() {
			return groupFee;
		}

		public void setGroupFee(BigDecimal groupFee) {
			this.groupFee = groupFee;
		}

		public BigDecimal getUseReductionMount() {
			return useReductionMount;
		}

		public void setUseReductionMount(BigDecimal useReductionMount) {
			this.useReductionMount = useReductionMount;
		}

		public BigDecimal getPayFee() {
			return payFee;
		}

		public void setPayFee(BigDecimal payFee) {
			this.payFee = payFee;
		}
		
	}

	public List<CouponRow> getCoupon() {
		return coupon;
	}

	public void setCoupon(List<CouponRow> coupon) {
		this.coupon = coupon;
	}

}
